import request from '@/utils/request'

export function changeStatus(val) {
  return request({
    url: '/api/color/change_status',
    method: 'get',
    params: {
      status: val
    }
  })
}

export function getStatus() {
  return request({
    url: '/api/color/get_status',
    method: 'get'
  })
}

export function create(data){
  return request({
    url:'/api/color/create',
    method:'post',
    data
  })
}
